<?php

/***************************************************************
*  Copyright notice
*
*  (c) 2011 Florian Müller <it-admin@ifp-potsdam.co>, IFP
*  			
*  All rights reserved
*
*  This script is part of the TYPO3 project. The TYPO3 project is
*  free software; you can redistribute it and/or modify
*  it under the terms of the GNU General Public License as published by
*  the Free Software Foundation; either version 2 of the License, or
*  (at your option) any later version.
*
*  The GNU General Public License can be found at
*  http://www.gnu.org/copyleft/gpl.html.
*
*  This script is distributed in the hope that it will be useful,
*  but WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*  GNU General Public License for more details.
*
*  This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/

/**
 * Testcase for class Tx_IfpCurriculum2_Domain_Model_Dozent.
 *
 * @version $Id$
 * @copyright Copyright belongs to the respective authors
 * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3 or later
 *
 * @package TYPO3
 * @subpackage IFP Curriculum 2
 * 
 * @author Florian Müller <it-admin@ifp-potsdam.co>
 */
class Tx_IfpCurriculum2_Domain_Model_DozentTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
	/**
	 * @var Tx_IfpCurriculum2_Domain_Model_Dozent
	 */
	protected $fixture;

	public function setUp() {
		$this->fixture = new Tx_IfpCurriculum2_Domain_Model_Dozent();
	}

	public function tearDown() {
		unset($this->fixture);
	}
	
	
	/**
	 * @test
	 */
	public function getTitelReturnsInitialValueForString() { }

	/**
	 * @test
	 */
	public function setTitelForStringSetsTitel() { 
		$this->fixture->setTitel('Conceived at T3CON10');

		$this->assertSame(
			'Conceived at T3CON10',
			$this->fixture->getTitel()
		);
	}
	
	/**
	 * @test
	 */
	public function getGeschlechtReturnsInitialValueForString() { }

	/**
	 * @test
	 */
	public function setGeschlechtForStringSetsGeschlecht() { 
		$this->fixture->setGeschlecht('Conceived at T3CON10');

		$this->assertSame(
			'Conceived at T3CON10',
			$this->fixture->getGeschlecht()
		);
	}
	
	/**
	 * @test
	 */
	public function getVornameReturnsInitialValueForString() { }

	/**
	 * @test
	 */
	public function setVornameForStringSetsVorname() { 
		$this->fixture->setVorname('Conceived at T3CON10');

		$this->assertSame(
			'Conceived at T3CON10',
			$this->fixture->getVorname()
		);
	}
	
	/**
	 * @test
	 */
	public function getNachnameReturnsInitialValueForString() { }

	/**
	 * @test
	 */
	public function setNachnameForStringSetsNachname() { 
		$this->fixture->setNachname('Conceived at T3CON10');

		$this->assertSame(
			'Conceived at T3CON10',
			$this->fixture->getNachname()
		);
	}
	
	/**
	 * @test
	 */
	public function getBeschreibungKurzReturnsInitialValueForString() { }

	/**
	 * @test
	 */
	public function setBeschreibungKurzForStringSetsBeschreibungKurz() { 
		$this->fixture->setBeschreibungKurz('Conceived at T3CON10');

		$this->assertSame(
			'Conceived at T3CON10',
			$this->fixture->getBeschreibungKurz()
		);
	}
	
	/**
	 * @test
	 */
	public function getBeschreibungReturnsInitialValueForString() { }

	/**
	 * @test
	 */
	public function setBeschreibungForStringSetsBeschreibung() { 
		$this->fixture->setBeschreibung('Conceived at T3CON10');

		$this->assertSame(
			'Conceived at T3CON10',
			$this->fixture->getBeschreibung()
		);
	}
	
	/**
	 * @test
	 */
	public function getTypeReturnsInitialValueForString() { }

	/**
	 * @test
	 */
	public function setTypeForStringSetsType() { 
		$this->fixture->setType('Conceived at T3CON10');

		$this->assertSame(
			'Conceived at T3CON10',
			$this->fixture->getType()
		);
	}
	
	/**
	 * @test
	 */
	public function getBildReturnsInitialValueForString() { }

	/**
	 * @test
	 */
	public function setBildForStringSetsBild() { 
		$this->fixture->setBild('Conceived at T3CON10');

		$this->assertSame(
			'Conceived at T3CON10',
			$this->fixture->getBild()
		);
	}
	
	/**
	 * @test
	 */
	public function getMailReturnsInitialValueForString() { }

	/**
	 * @test
	 */
	public function setMailForStringSetsMail() { 
		$this->fixture->setMail('Conceived at T3CON10');

		$this->assertSame(
			'Conceived at T3CON10',
			$this->fixture->getMail()
		);
	}
	
	/**
	 * @test
	 */
	public function getExternReturnsInitialValueForBoolean() { 
		$this->assertSame(
			TRUE,
			$this->fixture->getExtern()
		);
	}

	/**
	 * @test
	 */
	public function setExternForBooleanSetsExtern() { 
		$this->fixture->setExtern(TRUE);

		$this->assertSame(
			TRUE,
			$this->fixture->getExtern()
		);
	}
	
}
?>